<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<form:form method="POST" modelAttribute="position" action="/dispatch/sell">
<table>
<tr><td colspan="2">
Sell position entry:
</td>
</tr>
<tr>
<td>Record Id: </td><td><form:input path="id"/></td>
</tr>
<td>Price: </td><td><form:input path="purchasedPrice"/></td>
</tr>
<td>Shares: </td><td><form:input path="volume"/></td>
</tr>
<td>Symbol: </td><td><form:input path="symbol"/></td>
</tr>
<td>Date: </td><td><form:input path="date"/></td>
</tr>
<td>Transaction Id: </td><td><form:input path="transactionId"/></td>
</tr>
<tr>
<td><input type="submit" name="submit" value="SELL"></td>
<td><input type="button" name="Cancel" value="CANCEL" onclick="document.location.href='/dispatch/portfolio'"/></td>
</tr>
</table>
</form:form>
</body>
</html>